
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   M E N U   c o m m a n d s 
 
 B u t t o n   1   L a b e l   T i t l e 0 
 
 B u t t o n   T i t l e 0   L a b e l   " M e n u   c o m m a n d s " 
 
 B u t t o n   T i t l e 0   C o l o r   G r e e n 2 
 
 B u t t o n   2   L a b e l   L o a d S p e c t r u m F i l e 1 
 
 B u t t o n   3   L a b e l   L o a d S p e c t r u m F i l e 2 
 
 B u t t o n   4   L a b e l   L o a d S p e c t r u m F i l e 3 
 
 B u t t o n   5   L a b e l   L o a d C a l i b r a t i o n F i l e 1 
 
 B u t t o n   6   L a b e l   L o a d C a l i b r a t i o n F i l e 2 
 
 B u t t o n   7   L a b e l   L o a d C a l i b r a t i o n F i l e 3 
 
 B u t t o n   8   L a b e l   L o a d I r r a d i a n c e F i l e 1 
 
 B u t t o n   9   L a b e l   L o a d I r r a d i a n c e F i l e 2 
 
 B u t t o n   1 0   L a b e l   L o a d I r r a d i a n c e F i l e 3 
 
 B u t t o n   1 1   L a b e l   S e n s o r T y p e R a n d o m 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   T o o l b a r   c o m m a n d s 
 
 B u t t o n   1 7   L a b e l   T i t l e 1 
 
 B u t t o n   T i t l e 1   L a b e l   " T o o l b a r   c o m m a n d s " 
 
 B u t t o n   T i t l e 1   C o l o r   G r e e n 2 
 
 B u t t o n   1 8   L a b e l   S a v e S p e c t r u m I m a g e 
 
 B u t t o n   1 9   L a b e l   S a v e T o t a l I m a g e 
 
 B u t t o n   2 0   L a b e l   W r i t e D a t a O N 
 
 B u t t o n   2 1   L a b e l   W r i t e D a t a O F F 
 
 B u t t o n   2 2   L a b e l   W r i t e D a t a T i m e R a n d o m 
 
 B u t t o n   2 3   L a b e l   W r i t e D a t a R e p e a t O N 
 
 B u t t o n   2 4   L a b e l   W r i t e D a t a R e p e a t O F F 
 
 B u t t o n   2 5   L a b e l   O p t i o n s O N 
 
 B u t t o n   2 6   L a b e l   O p t i o n s O F F 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   S e r i a l   P o r t 
 
 B u t t o n   3 3   L a b e l   T i t l e 2 
 
 B u t t o n   T i t l e 2   L a b e l   " S e r i a l   P o r t " 
 
 B u t t o n   T i t l e 2   C o l o r   G r e e n 2 
 
 B u t t o n   3 4   L a b e l   P o r t R a n d o m 
 
 B u t t o n   3 5   L a b e l   B a u d s R a n d o m 
 
 B u t t o n   3 6   L a b e l   C o m C o n n e c t 
 
 B u t t o n   3 7   L a b e l   C o m D i s c o n n e c t 
 
 B u t t o n   3 8   L a b e l   A u t o E x p O N 
 
 B u t t o n   A u t o E x p O N   T e x t   " A u t o E x p "   +   C R L F   +   " O N " 
 
 B u t t o n   3 9   L a b e l   A u t o E x p O F F 
 
 B u t t o n   A u t o E x p O F F   T e x t   " A u t o E x p "   +   C R L F   +   " O F F " 
 
 B u t t o n   4 0   L a b e l   E x p o s u r e R a n d o m 
 
 B u t t o n   E x p o s u r e R a n d o m   T e x t   " E x p o s u r e "   +   C R L F   +   " R a n d o m " 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   S E N S O R 
 
 B u t t o n   4 2   L a b e l   T i t l e 4 
 
 B u t t o n   T i t l e 4   L a b e l   " S e n s o r " 
 
 B u t t o n   T i t l e 4   C o l o r   G r e e n 2 
 
 B u t t o n   4 3   L a b e l   S a m p l e s R a n d o m 
 
 B u t t o n   S a m p l e s R a n d o m   T e x t   " S a m p l e s "   +   C R L F   +   " R a n d o m " 
 
 B u t t o n   4 4   L a b e l   A d c S p e e d R a n d o m 
 
 B u t t o n   A d c S p e e d R a n d o m   T e x t   " A d c S p e e d "   +   C R L F   +   " R a n d o m " 
 
 B u t t o n   4 5   L a b e l   M o d e R a n d o m 
 
 B u t t o n   4 6   L a b e l   A d c S c a l e R a n d o m 
 
 ' 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   W E B C A M 
 
 B u t t o n   4 9   L a b e l   T i t l e 3 
 
 B u t t o n   T i t l e 3   L a b e l   " W e b C a m " 
 
 B u t t o n   T i t l e 3   C o l o r   G r e e n 2 
 
 B u t t o n   5 0   L a b e l   W e b C a m R a n d o m 
 
 B u t t o n   5 1   L a b e l   W e b C a m C o n n e c t 
 
 B u t t o n   5 2   L a b e l   W e b C a m D i s c o n n e c t 
 
 B u t t o n   5 3   L a b e l   V i d e o I n C o n t r o l s O N 
 
 B u t t o n   5 4   L a b e l   V i d e o I n C o n t r o l s O F F 
 
 ' 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   F I L E S 
 
 B u t t o n   5 9   L a b e l   T i t l e 5 
 
 B u t t o n   T i t l e 5   L a b e l   " F i l e s " 
 
 B u t t o n   T i t l e 5   C o l o r   G r e e n 2 
 
 B u t t o n   6 0   L a b e l   F i l e N a m e R a n d o m 
 
 B u t t o n   F i l e N a m e R a n d o m   T e x t   " F i l e N a m e "   +   C R L F   +   " R a n d o m " 
 
 B u t t o n   6 1   L a b e l   I m a g e T y p e R a n d o m 
 
 B u t t o n   I m a g e T y p e R a n d o m   T e x t   " I m a g e T y p e "   +   C R L F   +   " R a n d o m " 
 
 B u t t o n   6 2   L a b e l   F i l e P a t h R a n d o m 
 
 B u t t o n   F i l e P a t h R a n d o m   T e x t   " F i l e P a t h "   +   C R L F   +   " R a n d o m " 
 
 ' 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   F I L T E R S 
 
 B u t t o n   6 5   L a b e l   T i t l e 6 
 
 B u t t o n   T i t l e 6   L a b e l   " F i l t e r s " 
 
 B u t t o n   T i t l e 6   C o l o r   G r e e n 2 
 
 B u t t o n   6 6   L a b e l   A v e r a g e O N 
 
 B u t t o n   6 7   L a b e l   A v e r a g e O F F 
 
 B u t t o n   6 8   L a b e l   A v e r a g e R a n d o m 
 
 B u t t o n   A v e r a g e R a n d o m   T e x t   " A v e r a g e "   +   C R L F   +   " R a n d o m " 
 
 B u t t o n   6 9   L a b e l   S p a t i a l F i l t e r R a n d o m 
 
 B u t t o n   S p a t i a l F i l t e r R a n d o m   T e x t   " S p a t i a l   f i l t e r "   +   C R L F   +   " R a n d o m " 
 
 B u t t o n   7 0   L a b e l   R e f e r e n c e O N 
 
 B u t t o n   7 1   L a b e l   R e f e r e n c e O F F 
 
 B u t t o n   7 2   L a b e l   B a c k g r o u n d O N 
 
 B u t t o n   7 3   L a b e l   B a c k g r o u n d O F F 
 
 B u t t o n   7 4   L a b e l   R i s i n g S p e e d 
 
 B u t t o n   R i s i n g S p e e d   T e x t   " R i s i n g S p e e d "   +   C R L F   +   " R a n d o m " 
 
 B u t t o n   7 5   L a b e l   F a l l i n g S p e e d 
 
 B u t t o n   F a l l i n g S p e e d   T e x t   " F a l l i n g S p e e d "   +   C R L F   +   " R a n d o m " 
 
 B u t t o n   7 6   L a b e l   R e s e t S p e c t r u m D a t a 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   S E N S O R   S A M P L E S 
 
 B u t t o n   8 1   L a b e l   T i t l e 7 
 
 B u t t o n   T i t l e 7   L a b e l   " S e n s o r   s a m p l e s " 
 
 B u t t o n   T i t l e 7   C o l o r   G r e e n 2 
 
 B u t t o n   8 2   L a b e l   A d c M a x R a n d o m 
 
 B u t t o n   8 3   L a b e l   A d c M i n R a n d o m 
 
 B u t t o n   8 4   L a b e l   A d c M i n A u t o _ O N 
 
 B u t t o n   8 5   L a b e l   A d c M i n A u t o _ O F F 
 
 B u t t o n   8 6   L a b e l   S t a r t X _ R a n d o m 
 
 B u t t o n   8 7   L a b e l   E n d X _ R a n d o m 
 
 B u t t o n   8 8   L a b e l   S i z e Y _ R a n d o m 
 
 B u t t o n   8 9   L a b e l   S t a r t Y _ R a n d o m 
 
 B u t t o n   9 0   L a b e l   F l i p H _ O N 
 
 B u t t o n   9 1   L a b e l   F l i p H _ O F F 
 
 B u t t o n   9 2   L a b e l   F l i p V _ O N 
 
 B u t t o n   9 3   L a b e l   F l i p V _ O F F 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   S T A T U S   B A R 
 
 B u t t o n   9 7   L a b e l   T i t l e 8 
 
 B u t t o n   T i t l e 8   L a b e l   " S t a t u s   b a r " 
 
 B u t t o n   T i t l e 8   C o l o r   G r e e n 2 
 
 B u t t o n   9 8   L a b e l   L o g S c a l e R a n d o m 
 
 B u t t o n   L o g S c a l e R a n d o m   T e x t   " L o g   S c a l e "   +   C R L F   +   " R a n d o m " 
 
 B u t t o n   9 9   L a b e l   D i p s O N 
 
 B u t t o n   1 0 0   L a b e l   D i p s O F F 
 
 B u t t o n   1 0 1   L a b e l   P e a k s O N 
 
 B u t t o n   1 0 2   L a b e l   P e a k s O F F 
 
 B u t t o n   1 0 3   L a b e l   C o l o r s O N 
 
 B u t t o n   1 0 4   L a b e l   C o l o r s O F F 
 
 B u t t o n   1 0 5   L a b e l   T r i m S c a l e O N 
 
 B u t t o n   1 0 6   L a b e l   T r i m S c a l e O F F 
 
 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 '     S T A R T   A N D   S T O P   P R O G R A M 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 V a r i a b l e   N u m e r i c   S l o t _ C o m m a n d s   =   3 1 
 
 ' V a r i a b l e   N u m e r i c   S l o t _ R e s p o n s e s   =   3 2 
 
 
 
 L o a d   T h e r e m i n o _ S l o t V i e w e r . e x e 
 
 W i n d o w   M i n S i z e 
 
 S t o p 
 
 
 
 L a b e l   E v e n t S t o p 
 
 	 F o r   v 1   =   0   T o   1 2 8 
 
 	 	 B u t t o n   v 1   T e x t   " " 
 
 	 N e x t 
 
 	 W i n d o w   S i z a b l e 
 
 E n d 
 
 
 
 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 '     S E N D   C O M M A N D   ( d e f a u l t   t i m e o u t   =   0 . 5   S e c ) 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 L a b e l   S e n d C o m m a n d 
 
 	 V a r i a b l e   S t r i n g   S C 1                       ' < - -   P a r a m e t e r   C o m m a n d - S t r i n g 
 
 	 S l o t T e x t   S l o t _ C o m m a n d s   =   S C 1 
 
 	 V a r i a b l e   N u m e r i c   S C 2 
 
 	 F o r   S C 2   =   0 . 1   T o   0 . 5   S t e p   0 . 1   '   < - -   0 . 5   s e c o n d s   t i m e o u t 
 
 	 	 I f   S l o t T e x t ( S l o t _ C o m m a n d s )   =   " " 
 
 	 	 	 E x i t 
 
 	 	 E n d I f 
 
 	 	 W a i t   S e c o n d s   0 . 1 
 
 	 N e x t 
 
 R e t u r n 
 
 
 
 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 '     C O M M A N D S 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   M e n u   c o m m a n d s 
 
 L a b e l   L o a d S p e c t r u m F i l e 
 
 	 S e n d C o m m a n d ( " L o a d S p e c t r u m F i l e   T e s t 1 _ 0 0 1 . c s v " ) 
 
 R e t u r n 
 
 L a b e l   L o a d S p e c t r u m F i l e 2 
 
 	 S e n d C o m m a n d ( " L o a d S p e c t r u m F i l e   T e s t 1 _ 0 0 2 . c s v " ) 
 
 R e t u r n 
 
 L a b e l   L o a d S p e c t r u m F i l e 3 
 
 	 S e n d C o m m a n d ( " L o a d S p e c t r u m F i l e   T e s t 1 _ 0 0 3 . c s v " ) 
 
 R e t u r n 
 
 
 
 L a b e l   L o a d C a l i b r a t i o n F i l e 1 
 
 	 S e n d C o m m a n d ( " L o a d C a l i b r a t i o n F i l e   C a l i b 1 . t x t " ) 
 
 R e t u r n 
 
 L a b e l   L o a d C a l i b r a t i o n F i l e 2 
 
 	 S e n d C o m m a n d ( " L o a d C a l i b r a t i o n F i l e   C a l i b 2 . t x t " ) 
 
 R e t u r n 
 
 L a b e l   L o a d C a l i b r a t i o n F i l e 3 
 
 	 S e n d C o m m a n d ( " L o a d C a l i b r a t i o n F i l e   C a l i b 3 . t x t " ) 
 
 R e t u r n 
 
 
 
 L a b e l   L o a d I r r a d i a n c e F i l e 1 
 
 	 S e n d C o m m a n d ( " L o a d I r r a d i a n c e F i l e   C o e f f s _ F L A T . t x t " ) 
 
 R e t u r n 
 
 L a b e l   L o a d I r r a d i a n c e F i l e 2 
 
 	 S e n d C o m m a n d ( " L o a d I r r a d i a n c e F i l e   R a n d o m _ 1 0 0 _ t o _ 2 0 0 0 _ n m . t x t " ) 
 
 R e t u r n 
 
 L a b e l   L o a d I r r a d i a n c e F i l e 3 
 
 	 S e n d C o m m a n d ( " L o a d I r r a d i a n c e F i l e   S i n u s o i d a l _ 1 0 0 _ t o _ 2 0 0 0 _ n m . t x t " ) 
 
 R e t u r n 
 
 
 
 L a b e l   S e n s o r T y p e R a n d o m 
 
 	 R a n d o m   =   M o d ( ( R a n d o m   +   1 ) ,   3 ) 
 
 	 S e l e c t   R a n d o m 
 
 	 	 C a s e   0 
 
 	 	 	 S e n d C o m m a n d ( " S e n s o r T y p e   W e b C a m " ) 
 
 	 	 C a s e   1 
 
 	 	 	 S e n d C o m m a n d ( " S e n s o r T y p e   T C D 1 3 0 4 " ) 
 
 	 	 C a s e   2 
 
 	 	 	 S e n d C o m m a n d ( " S e n s o r T y p e   T C D 1 2 5 4 " ) 
 
 	 E n d S e l e c t 
 
 R e t u r n 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   T o o l b a r   c o m m a n d s 
 
 L a b e l   S a v e S p e c t r u m I m a g e 
 
 	 S e n d C o m m a n d ( " S a v e S p e c t r u m I m a g e " ) 
 
 R e t u r n 
 
 L a b e l   S a v e T o t a l I m a g e 
 
 	 S e n d C o m m a n d ( " S a v e T o t a l I m a g e " ) 
 
 R e t u r n 
 
 L a b e l   W r i t e D a t a O N 
 
 	 S e n d C o m m a n d ( " W r i t e D a t a O N " ) 
 
 R e t u r n 
 
 L a b e l   W r i t e D a t a O F F 
 
 	 S e n d C o m m a n d ( " W r i t e D a t a O F F " ) 
 
 R e t u r n 
 
 L a b e l   W r i t e D a t a T i m e R a n d o m 
 
 	 R a n d o m   =   M o d ( ( R a n d o m   +   1 ) ,   3 ) 
 
 	 S e l e c t   R a n d o m 
 
 	 	 C a s e   0 
 
 	 	 	 S e n d C o m m a n d ( " W r i t e D a t a T i m e   0   s e c " ) 
 
 	 	 C a s e   1 
 
 	 	 	 S e n d C o m m a n d ( " W r i t e D a t a T i m e   3 . 0   s e c " ) 
 
 	 	 C a s e   2 
 
 	 	 	 S e n d C o m m a n d ( " W r i t e D a t a T i m e   1 0   s e c " ) 
 
 	 E n d S e l e c t 
 
 R e t u r n 
 
 L a b e l   W r i t e D a t a R e p e a t O N 
 
 	 S e n d C o m m a n d ( " W r i t e D a t a R e p e a t O N " ) 
 
 R e t u r n 
 
 L a b e l   W r i t e D a t a R e p e a t O F F 
 
 	 S e n d C o m m a n d ( " W r i t e D a t a R e p e a t O F F " ) 
 
 R e t u r n 
 
 L a b e l   O p t i o n s O N 
 
 	 S e n d C o m m a n d ( " O p t i o n s O N " ) 
 
 R e t u r n 
 
 L a b e l   O p t i o n s O F F 
 
 	 S e n d C o m m a n d ( " O p t i o n s O F F " ) 
 
 R e t u r n 
 
 
 
     '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   S E R I A L   P O R T 
 
 L a b e l   P o r t R a n d o m 
 
 	 R a n d o m   =   M o d ( ( R a n d o m   +   1 ) ,   3 ) 
 
 	 S e l e c t   R a n d o m 
 
 	 	 C a s e   0 
 
 	 	 	 S e n d C o m m a n d ( " C o m P o r t   C O M 1 " ) 
 
 	 	 C a s e   1 
 
 	 	 	 S e n d C o m m a n d ( " C o m P o r t   C O M 4 " ) 
 
 	 	 C a s e   2 
 
 	 	 	 S e n d C o m m a n d ( " C o m P o r t   C O M 1 1 " ) 
 
 	 E n d S e l e c t 
 
 R e t u r n 
 
 L a b e l   B a u d s R a n d o m 
 
 	 R a n d o m   =   M o d ( ( R a n d o m   +   1 ) ,   3 ) 
 
 	 S e l e c t   R a n d o m 
 
 	 	 C a s e   0 
 
 	 	 	 S e n d C o m m a n d ( " B a u d s   1 1 5 2 0 0 " ) 
 
 	 	 C a s e   1 
 
 	 	 	 S e n d C o m m a n d ( " B a u d s   2 5 0 0 0 0 " ) 
 
 	 	 C a s e   2 
 
 	 	 	 S e n d C o m m a n d ( " B a u d s   1 0 0 0 0 0 0 " ) 
 
 	 E n d S e l e c t 
 
 R e t u r n 
 
 
 
 L a b e l   C o m C o n n e c t 
 
 	 S e n d C o m m a n d ( " C o m C o n n e c t " ) 
 
 R e t u r n 
 
 L a b e l   C o m D i s c o n n e c t 
 
 	 S e n d C o m m a n d ( " C o m D i s c o n n e c t " ) 
 
 R e t u r n 
 
 
 
 L a b e l   A u t o E x p O N 
 
 	 S e n d C o m m a n d ( " A u t o E x p O N " ) 
 
 R e t u r n 
 
 L a b e l   A u t o E x p O F F 
 
 	 S e n d C o m m a n d ( " A u t o E x p O F F " ) 
 
 R e t u r n 
 
 L a b e l   E x p o s u r e R a n d o m 
 
 	 R a n d o m   =   M o d ( ( R a n d o m   +   1 ) ,   3 ) 
 
 	 S e l e c t   R a n d o m 
 
 	 	 C a s e   0 
 
 	 	 	 S e n d C o m m a n d ( " E x p o s u r e   1 0   u s " ) 
 
 	 	 C a s e   1 
 
 	 	 	 S e n d C o m m a n d ( " E x p o s u r e   2 0   m s " ) 
 
 	 	 C a s e   2 
 
 	 	 	 S e n d C o m m a n d ( " E x p o s u r e   1 0 0   m s " ) 
 
 	 E n d S e l e c t 
 
 R e t u r n 
 
 
 
   '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   S E N S O R 
 
 V a r i a b l e   N u m e r i c   R a n d o m 
 
 L a b e l   S a m p l e s R a n d o m 
 
 	 R a n d o m   =   M o d ( ( R a n d o m   +   1 ) ,   3 ) 
 
 	 S e l e c t   R a n d o m 
 
 	 	 C a s e   0 
 
 	 	 	 S e n d C o m m a n d ( " S a m p l e s   5 0 0 " ) 
 
 	 	 C a s e   1 
 
 	 	 	 S e n d C o m m a n d ( " S a m p l e s   1 0 0 0 " ) 
 
 	 	 C a s e   2 
 
 	 	 	 S e n d C o m m a n d ( " S a m p l e s   3 6 0 0 " ) 
 
 	 E n d S e l e c t 
 
 R e t u r n 
 
 
 
 L a b e l   A d c S p e e d R a n d o m 
 
 	 R a n d o m   =   M o d ( ( R a n d o m   +   1 ) ,   3 ) 
 
 	 S e l e c t   R a n d o m 
 
 	 	 C a s e   0 
 
 	 	 	 S e n d C o m m a n d ( " A d c S p e e d   1 " ) 
 
 	 	 C a s e   1 
 
 	 	 	 S e n d C o m m a n d ( " A d c S p e e d   2 " ) 
 
 	 	 C a s e   2 
 
 	 	 	 S e n d C o m m a n d ( " A d c S p e e d   3 " ) 
 
 	 E n d S e l e c t 
 
 R e t u r n 
 
 
 
 L a b e l   M o d e R a n d o m 
 
 	 R a n d o m   =   M o d ( ( R a n d o m   +   1 ) ,   3 ) 
 
 	 S e l e c t   R a n d o m 
 
 	 	 C a s e   0 
 
 	 	 	 S e n d C o m m a n d ( " M o d e   N o r m a l " ) 
 
 	 	 C a s e   1 
 
 	 	 	 S e n d C o m m a n d ( " M o d e   D e b u g 1 C " ) 
 
 	 	 C a s e   2 
 
 	 	 	 S e n d C o m m a n d ( " M o d e   D e b u g 3 C " ) 
 
 	 E n d S e l e c t 
 
 R e t u r n 
 
 
 
 L a b e l   A d c S c a l e R a n d o m 
 
 	 R a n d o m   =   M o d ( ( R a n d o m   +   1 ) ,   3 ) 
 
 	 S e l e c t   R a n d o m 
 
 	 	 C a s e   0 
 
 	 	 	 S e n d C o m m a n d ( " A d c S c a l e   8   b i t " ) 
 
 	 	 C a s e   1 
 
 	 	 	 S e n d C o m m a n d ( " A d c S c a l e   1 0   b i t " ) 
 
 	 	 C a s e   2 
 
 	 	 	 S e n d C o m m a n d ( " A d c S c a l e   1 6   b i t " ) 
 
 	 E n d S e l e c t 
 
 R e t u r n 
 
 
 
   '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   W E B C A M 
 
 L a b e l   W e b C a m R a n d o m 
 
 	 S e n d C o m m a n d ( " W e b C a m I n d e x   "   +   I n t ( R n d   *   2 ) ) 
 
 R e t u r n 
 
 L a b e l   W e b C a m C o n n e c t 
 
 	 S e n d C o m m a n d ( " W e b C a m C o n n e c t " ) 
 
 R e t u r n 
 
 L a b e l   W e b C a m D i s c o n n e c t 
 
 	 S e n d C o m m a n d ( " W e b C a m D i s c o n n e c t " ) 
 
 R e t u r n 
 
 L a b e l   V i d e o I n C o n t r o l s O N 
 
 	 S e n d C o m m a n d ( " V i d e o I n C o n t r o l s O N " ) 
 
 R e t u r n 
 
 L a b e l   V i d e o I n C o n t r o l s O F F 
 
 	 S e n d C o m m a n d ( " V i d e o I n C o n t r o l s O F F " ) 
 
 R e t u r n 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   F I L E S 
 
 L a b e l   F i l e N a m e R a n d o m 
 
 	 R a n d o m   =   M o d ( ( R a n d o m   +   1 ) ,   3 ) 
 
 	 S e l e c t   R a n d o m 
 
 	 	 C a s e   0 
 
 	 	 	 S e n d C o m m a n d ( " F i l e N a m e   T e s t 1 " ) 
 
 	 	 C a s e   1 
 
 	 	 	 S e n d C o m m a n d ( " F i l e N a m e   F i l e     1 " ) 
 
 	 	 C a s e   2 
 
 	 	 	 S e n d C o m m a n d ( " F i l e N a m e   F i l e _ _ _ 3 " ) 
 
 	 E n d S e l e c t 
 
 R e t u r n 
 
 L a b e l   I m a g e T y p e R a n d o m 
 
 	 R a n d o m   =   M o d ( ( R a n d o m   +   1 ) ,   3 ) 
 
 	 S e l e c t   R a n d o m 
 
 	 	 C a s e   0 
 
 	 	 	 S e n d C o m m a n d ( " I m a g e T y p e       J p g " ) 
 
 	 	 C a s e   1 
 
 	 	 	 S e n d C o m m a n d ( " I m a g e T y p e     P n g " ) 
 
 	 	 C a s e   2 
 
 	 	 	 S e n d C o m m a n d ( " I m a g e T y p e     	   B m p " ) 
 
 	 E n d S e l e c t 
 
 R e t u r n 
 
 L a b e l   F i l e P a t h R a n d o m 
 
 	 R a n d o m   =   M o d ( ( R a n d o m   +   1 ) ,   3 ) 
 
 	 S e l e c t   R a n d o m 
 
 	 	 C a s e   0 
 
 	 	 	 S e n d C o m m a n d ( " F i l e P a t h   C : \ U s e r s \ W i n 1 0 \ D o c u m e n t s " ) 
 
 	 	 C a s e   1 
 
 	 	 	 S e n d C o m m a n d ( " F i l e P a t h   C : \ U s e r s \ W i n 1 0 \ D o w n l o a d s " ) 
 
 	 	 C a s e   2 
 
 	 	 	 S e n d C o m m a n d ( " F i l e P a t h   C : \ U s e r s \ W i n 1 0 \ D e s k t o p " ) 
 
 	 E n d S e l e c t 
 
 R e t u r n 
 
 ' 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   F I L T E R S 
 
 L a b e l   A v e r a g e O N 
 
 	 S e n d C o m m a n d ( " A v e r a g e O N " ) 
 
 R e t u r n 
 
 L a b e l   A v e r a g e O F F 
 
 	 S e n d C o m m a n d ( " A v e r a g e O F F " ) 
 
 R e t u r n 
 
 L a b e l   A v e r a g e R a n d o m 
 
 	 R a n d o m   =   M o d ( ( R a n d o m   +   1 ) ,   3 ) 
 
 	 S e l e c t   R a n d o m 
 
 	 	 C a s e   0 
 
 	 	 	 S e n d C o m m a n d ( " A v e r a g e   1 " ) 
 
 	 	 C a s e   1 
 
 	 	 	 S e n d C o m m a n d ( " A v e r a g e   1 0 " ) 
 
 	 	 C a s e   2 
 
 	 	 	 S e n d C o m m a n d ( " A v e r a g e   1 0 0 " ) 
 
 	 E n d S e l e c t 
 
 R e t u r n 
 
 L a b e l   S p a t i a l F i l t e r R a n d o m 
 
 	 S e n d C o m m a n d ( " S p a t i a l F i l t e r   "   +   I n t ( R n d   *   1 0 ) ) 
 
 R e t u r n 
 
 L a b e l   R e f e r e n c e O N 
 
 	 S e n d C o m m a n d ( " R e f e r e n c e _ O N " ) 
 
 R e t u r n 
 
 L a b e l   R e f e r e n c e O F F 
 
 	 S e n d C o m m a n d ( " R e f e r e n c e _ O F F " ) 
 
 R e t u r n 
 
 L a b e l   B a c k g r o u n d O N 
 
 	 S e n d C o m m a n d ( " B a c k g r o u n d _ O N " ) 
 
 R e t u r n 
 
 L a b e l   B a c k g r o u n d O F F 
 
 	 S e n d C o m m a n d ( " B a c k g r o u n d _ O F F " ) 
 
 R e t u r n 
 
 L a b e l   R i s i n g S p e e d R a n d o m 
 
 	 S e n d C o m m a n d ( " R i s i n g S p e e d   "   +   I n t ( R n d   *   1 0 0 ) ) 
 
 R e t u r n 
 
 L a b e l   F a l l i n g S p e e d R a n d o m 
 
 	 S e n d C o m m a n d ( " F a l l i n g S p e e d   "   +   I n t ( R n d   *   1 0 0 ) ) 
 
 R e t u r n 
 
 L a b e l   R e s e t S p e c t r u m D a t a 
 
 	 S e n d C o m m a n d ( " R e s e t S p e c t r u m D a t a " ) 
 
 R e t u r n 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   S e n s o r   s a m p l e s 
 
 L a b e l   A d c M a x R a n d o m 
 
 	 S e n d C o m m a n d ( " A d c M a x   "   +   I n t ( 6 0 0   +   R n d   *   2 0 0 ) ) 
 
 R e t u r n 
 
 L a b e l   A d c M i n R a n d o m 
 
 	 S e n d C o m m a n d ( " A d c M i n   "   +   I n t ( 2 0 0   +   R n d   *   2 0 0 ) ) 
 
 R e t u r n 
 
 L a b e l   A d c M i n A u t o _ O N 
 
 	 S e n d C o m m a n d ( " A d c M i n A u t o _ O N " ) 
 
 R e t u r n 
 
 L a b e l   A d c M i n A u t o _ O F F 
 
 	 S e n d C o m m a n d ( " A d c M i n A u t o _ O F F " ) 
 
 R e t u r n 
 
 
 
 L a b e l   S t a r t X _ R a n d o m 
 
 	 S e n d C o m m a n d ( " S t a r t X   "   +   I n t ( R n d   *   3 0 0 ) ) 
 
 R e t u r n 
 
 L a b e l   E n d X _ R a n d o m 
 
 	 S e n d C o m m a n d ( " E n d X   "   +     I n t ( 1 0 0 0   -   R n d   *   4 0 0 ) ) 
 
 R e t u r n 
 
 L a b e l   S i z e Y _ R a n d o m 
 
 	 S e n d C o m m a n d ( " S i z e Y   "   +   I n t ( R n d   *   5 0   +   1 )   ) 
 
 R e t u r n 
 
 L a b e l   S t a r t Y _ R a n d o m 
 
 	 S e n d C o m m a n d ( " S t a r t Y   "   +     I n t ( R n d   *   5 0 ) ) 
 
 R e t u r n 
 
 
 
 L a b e l   F l i p H _ O N 
 
 	 S e n d C o m m a n d ( " F l i p H _ O N " ) 
 
 R e t u r n 
 
 L a b e l   F l i p H _ O F F 
 
 	 S e n d C o m m a n d ( " F l i p H _ O F F " ) 
 
 R e t u r n 
 
 
 
 L a b e l   F l i p V _ O N 
 
 	 S e n d C o m m a n d ( " F l i p V _ O N " ) 
 
 R e t u r n 
 
 L a b e l   F l i p V _ O F F 
 
 	 S e n d C o m m a n d ( " F l i p V _ O F F " ) 
 
 R e t u r n 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   S T A T U S   B A R 
 
 L a b e l   L o g S c a l e R a n d o m 
 
 	 S e n d C o m m a n d ( " L o g S c a l e   "   +   I n t ( R n d   *   2 0   -   1 0 ) ) 
 
 R e t u r n 
 
 
 
 L a b e l   D i p s O N 
 
 	 S e n d C o m m a n d ( " D i p s _ O N " ) 
 
 R e t u r n 
 
 L a b e l   D i p s O F F 
 
 	 S e n d C o m m a n d ( " D i p s _ O F F " ) 
 
 R e t u r n 
 
 
 
 L a b e l   P e a k s O N 
 
 	 S e n d C o m m a n d ( " P e a k s _ O N " ) 
 
 R e t u r n 
 
 L a b e l   P e a k s O F F 
 
 	 S e n d C o m m a n d ( " P e a k s _ O F F " ) 
 
 R e t u r n 
 
 
 
 L a b e l   C o l o r s O N 
 
 	 S e n d C o m m a n d ( " C o l o r s _ O N " ) 
 
 R e t u r n 
 
 L a b e l   C o l o r s O F F 
 
 	 S e n d C o m m a n d ( " C o l o r s _ O F F " ) 
 
 R e t u r n 
 
 
 
 L a b e l   T r i m S c a l e O N 
 
 	 S e n d C o m m a n d ( " T r i m S c a l e _ O N " ) 
 
 R e t u r n 
 
 L a b e l   T r i m S c a l e O F F 
 
 	 S e n d C o m m a n d ( " T r i m S c a l e _ O F F " ) 
 
 R e t u r n 
 
 
 
 
 
 ' B O O K M A R K S   
 
 
 
 ' E D I T E D L I N E S   - 1   1   1 7 1   1 0   1 7 4   1 0   1 7 8   4   1 8 1   6   1 8 4   6   1 8 8   7   1 9 1   9   1 9 4   9   1 6 8   1 0   
 
 
 
 ' W A T C H   S e w T o _ S p e e d 
 
 ' E X E C   B u t t o n   5   T e x t   B u t t o n 5 
 
 